package chen.web.controller.blog.form;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;

public class SignUpForm {
		
	@NotEmpty
	@Size(min=6,max=18)
	private String password;
	@NotEmpty
	@Email(message="邮箱地址格式不正确")
	private String email;
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
		
	
}
